
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>EHS社区-EHS中国-</title>
    <link href="__TMPL__style/group-style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="__ROOT__/Public/Js/jquery-1.5.0.min.js"></script>
    <script type="text/javascript" src="__ROOT__/Public/Js/ehs.js"></script>
    <script type="text/javascript" src="__TMPL__js/YLMarquee-1.1.min.js"></script>
    <script type="text/javascript" src="__TMPL__js/jquery.KinSlideshow-1.2.1.min.js"></script>
    <script type="text/javascript">
		$(function(){
			$(".main-cate").KinSlideshow({
				moveStyle:"down",
				intervalTime:"3"
			});
		})
    </script>
  </head>
  <body>
    <layout name="Public:header0523" cache="0" />
    <div class="container">
      <div class="submenu-search">
        <div class="search">
          <div class="sub-menu"><a href="/index.html">EHS中国 </a>>> 社区首页</div>
            <div class="search-box">
              <form action="/main/public.php/search/index/" method="get" target="_blank">
                <label><input name="content" type="text" style="height:14px;" /></label>
                <label>
                  <select name="type" style=" font-size:13px; _font-size:12px;" >
                    <option value="6">用户</option>
                    <option value="7">群组</option>
                    <option value="8">帖子</option>
                    <option value="9">博文</option>
                  </select>
                </label>
                <label><input name="" type="submit" class="btn-search" value=""/></label>
              </form>
            </div>
        </div>
      </div>

      <div class="main">
        <div class="content">
          <div class="mian_left">
            <div class="main-cate" style="visibility:hidden;">
            	<a href="#"><img src="__TMPL__images/group/banner1.jpg" alt="加入群组社区 参与线上讨论 获得价值资源" /></a>
        		<a href="#"><img src="__TMPL__images/group/banner2.jpg" alt="集合精英力量 成长你我他 个人 企业 机构 三赢" /></a>
        		<a href="http://www.ehs.cn/huodong" target="_blank"><img src="__TMPL__images/group/banner3.jpg" alt="EHS 在企业中的 角色与定位" /></a>
            </div>
            <div class="group_trends"><strong>群组动态</strong>
                <div id="scrollDiv">
                <ul>
                    <volist name='new_member' id ='item'>
                    <li>
                      <span style="color:red">{$item.username}</span>加入{$item.cname}&nbsp;&nbsp;
                    </li>
                    </volist>
                </ul>
            </div>
            </div>
            <div id="cate1">
              <h2>同专业群</h2>
              <div class="mode-head">
                <h4>综合管理</h4>
              </div>
              <div class="mode-cont">
                <volist name='zhglArr' id='item'>
                  <dl>
                    <dt><img src="__TMPL__images/group/s{$iconNum}.png" width="40" /></dt>
                    <dd>
                      <h5><a href="/bbs/group_{$item['id']}.html" target="_blank"><?=trim($item['cname'])?></a><span>(今日<span style="color:#da8e00;">{$item.todayArticleNum}</span>)</span></h5>
                      <p>主题：{$item.ArticleNum}, 贴数：{$item.ArticleNum2}</p></dd>
                  </dl>
                  <?php $iconNum++;?>
                </volist>
                <div class="clear"></div>
              </div>
              <div class="mode-head">
                <h4>环境保护</h4>
              </div>
              <div class="mode-cont">
                <volist name='hjbhArr' id='item'>
                  <dl>
                    <dt><img src="__TMPL__images/group/s{$iconNum}.png" width="40" /></dt>
                    <dd>
                      <h5><a href="/bbs/group_{$item['id']}.html" target="_blank"><?=trim($item['cname'])?></a><span>(今日<span style="color:#da8e00;">{$item.todayArticleNum}</span>)</span></h5>
                      <p>主题：{$item.ArticleNum}, 贴数：{$item.ArticleNum2}</p></dd>
                  </dl>
                  <?php $iconNum++;?>
                </volist>

                <div class="clear"></div>
              </div>
              <div class="mode-head">
                <h4>安全生产</h4>
              </div>
              <div class="mode-cont">
                <volist name='aqscArr' id='item'>
                  <dl>
                    <dt><img src="__TMPL__images/group/s{$iconNum}.png" width="40" /></dt>
                    <dd>
                      <h5><a href="/bbs/group_{$item['id']}.html" target="_blank"><?=trim($item['cname'])?></a><span>(今日<span style="color:#da8e00;">{$item.todayArticleNum}</span>)</span></h5>
                      <p>主题：{$item.ArticleNum}, 贴数：{$item.ArticleNum2}</p></dd>
                  </dl>
                  <?php $iconNum++;?>
                </volist>
                <div class="clear"></div>
              </div>
              <div class="mode-head">
                <h4>职业健康</h4>
              </div>
              <div class="mode-cont">
                <volist name='zyjkArr' id='item'>
                  <dl>
                    <dt><img src="__TMPL__images/group/s{$iconNum}.png" width="40" /></dt>
                    <dd>
                      <h5><a href="/bbs/group_{$item['id']}.html" target="_blank"><?=trim($item['cname'])?></a><span>(今日<span style="color:#da8e00;">{$item.todayArticleNum}</span>)</span></h5>
                      <p>主题：{$item.ArticleNum}, 贴数：{$item.ArticleNum2}</p></dd>
                  </dl>
                  <?php $iconNum++;?>
                </volist>
                <div class="clear"></div>
              </div>
            </div>
            <div id="cate2">
              <h2>同地区群</h2>
              <div class="mode-cont">
                <volist name='diquArr' id='item'>
                  <dl>
                    <dt><img src="__TMPL__images/group/s{$iconNum}.png" width="40" /></dt>
                    <dd>
                      <h5><a href="/bbs/group_{$item['id']}.html" target="_blank"><?=trim($item['cname'])?></a><span>(今日<span style="color:#da8e00;">{$item.todayArticleNum}</span>)</span></h5>
                      <p>主题：{$item.ArticleNum}, 贴数：{$item.ArticleNum2}</p></dd>
                  </dl>
                  <?php $iconNum++;?>
                </volist>
                <div class="clear"></div>
              </div>
            </div>
            <div id="cate3">
              <h2>同行业群</h2>
              <div class="mode-cont">
                <volist name='hyArr' id='item'>
                  <dl>
                    <dt><img src="__TMPL__images/group/s{$iconNum}.png" width="40" /></dt>
                    <dd>
                      <h5><a href="/bbs/group_{$item['id']}.html" target="_blank"><?=trim($item['cname'])?></a><span>(今日<span style="color:#da8e00;">{$item.todayArticleNum}</span>)</span></h5>
                      <p>主题：{$item.ArticleNum}, 贴数：{$item.ArticleNum2}</p></dd>
                  </dl>
                  <?php $iconNum++;?>
                </volist>
                <div class="clear"></div>
              </div>
            </div>
          </div>
          <div class="main_right">
            <div class="recom">
              <div class="mode-head">
                <h3><a href="#"><span>资深网友推荐</span></a></h3>
              </div>

              <div id="scrollDiv1" style="padding: 0 10px; line-height: 22px;width:250px;">
                <ul>
                    <volist name='zj_list' id='item'><li>
                    <div class="recom-cont">
					  
                      <div class="recom_pic"><a href="/column/u_{$item['uid']}.html" target="_blank"><img src="{$item['icon']}" width="108" /></a><span>{$item['username']}</span>
                      </div>
                      <div class="recom_list">
                        <table>
                            <tr>
                                <td>{:mb_substr($item[introduce],0,70,'utf-8')}</td>
                            </tr>
                        </table>
                      </div>
                      <div class="clear"></div>
                    </div>
                  </li></volist>
                </ul>
            </div>
            </div>
            <script type="text/javascript">
            	$("#scrollDiv").YlMarquee({
					step:2,
					textMode:true,
					width: 580
				});
				$("#scrollDiv1").YlMarquee({
					visible:3,
					vertical: true,
					textMode: true,
					step: 1,
					height:200
				});
            </script>
            <div class="mode-tab">
              <div class="mode-tab-title">
                <ul>
                  <li id="tab1" class="tab-curret" onmouseover="setTabnowclass('tab','tab-curret',1,3)"><a href="/bbs/contentList_1.html">最新帖子</a></li>
                  <li id="tab2" onmouseover="setTabnowclass('tab','tab-curret',2,3)">热门帖子</li>
                  <li id="tab3" onmouseover="setTabnowclass('tab','tab-curret',3,3)">推荐帖子</li>
                </ul>
                <div class="clear"></div>
              </div>
              <div class="tab-cont" id="tab_con1">
                <ul>
                  <volist name="new_list" id='item'>
                    <li><span class="tab-cont-title">{$item.icon}<a href="/bbs/article_{$item['cyid']}_{$item['id']}.html" title="{$item['title']}" target="_blank">{$item['title']}</a></span></li>
                  </volist>
                </ul>
                <div class="clear"></div>
              </div>
              <div class="tab-cont" style="display:none;" id="tab_con2">
                <ul>
                  <volist name="hot_list" id='item'>
                    <li><span class="tab-cont-title"><a href="/bbs/article_{$item['cyid']}_{$item['id']}.html" title="{$item['title']}" target="_blank">{$item['title']}</a></span></li>
                  </volist>
                </ul>
                <div class="clear"></div>
              </div>
              <div class="tab-cont" style="display:none;" id="tab_con3">
                <ul>
                  <volist name="tj_list" id='item'>
                    <li><span class="tab-cont-title"><a href="/bbs/article_{$item['cyid']}_{$item['type_id']}.html" title="{$item['title']}" target="_blank">{$item['title']}</a></span></li>
                  </volist>
                </ul>
                <div class="clear"></div>
              </div>
            </div>

            <div class="hot-group"><!--最新博文开始-->
              <div class="mode-head">
                <h4><a href="/bbs/contentList_2.html">最新博文</a></h4>
              </div>
              <div class="tab-cont">
                <ul>
                  <volist name='latestDiary' id='item'>
                    <li style="padding:0px;"><!--<span class="tab-cont-user">{$item['username']}</span>--><span class="tab-cont-title">{$item.icon}<a href="/column/diary_{$item.uid}_{$item.did}.html" title="{$item['subject']}" target="_blank">{$item['subject']}</a></span></li>
                  </volist>
                </ul>
                <div class="clear"></div>
              </div>
            </div><!--最新博文结束-->

            <div class="hot-group">
              <div class="mode-head">
                <h4>热门群组</h4>
              </div>
              <ul>
                <volist name='hot_group' id='item'>
                  <li>
                    <div class="hot-group-img">
                      <a href="/bbs/group_{$item['id']}.html" target="_blank">
                        <img style="width:50px;" src="<?=empty($item['cnimg'])?'/pw8/images/g/groupnopic.gif':'/pw8/attachment/cn_img/'.str_replace('http://www.ehs.cn/','',$item['cnimg'])?>" />
                      </a>
                    </div>
                    <div class="hot-group-title">
                      <h4><a href="/bbs/group_{$item['id']}.html" target="_blank">{$item['cname']}</a></h4>
                      <p><?=date('Y-m-d',$item['createtime'])?> 人数：{$item['members']}</p>
                      <p>群主：{$item['admin']}</p>
                    </div>
					<div class="clear"></div>
                  </li>
                </volist>
              </ul>
            </div>
          </div>
          <div class="clear"> </div>
        </div>

        <div class="footer">
          <layout name="Public:footer" cache="0" /></div>
      </div>

    </div>
  </body>
</html>
